package com.ytjj.qmyx.admin.service.imService;

import com.ytjj.qmyx.admin.model.dto.ImServiceGroupDto;
import com.ytjj.qmyx.admin.model.dto.ImServiceUserDto;
import com.ytjj.qmyx.admin.model.vo.ImServiceGroupVO;
import com.ytjj.qmyx.admin.model.vo.ImServiceUserVO;

import java.util.List;

public interface ImServiceGroupService {

    Integer insertGroup(ImServiceGroupVO imServiceGroupVO);

    Integer deleteGroup(ImServiceGroupVO imServiceGroupVO);

    Integer updateGroup(ImServiceGroupVO imServiceGroupVO);

    List<ImServiceGroupDto> selectGroup(ImServiceGroupVO imServiceGroupVO);

    List<ImServiceUserDto> selectAllServiceUser();

    Integer addServiceUser(ImServiceUserVO imServiceUserVO);

    List<ImServiceUserDto> selectByGroupId(Integer groupId);

    Integer updateServiceUser(Integer id, Integer maxConNum);

    Integer removeServiceUser(Integer id);
}
